package com.wn.system.api;

import com.wn.common.model.vo.UserInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author yellow Docter
 * @date 2023 -08-01
 * @desc
 */
@FeignClient("sddfp-system-service")
public interface UserApi {

    @PostMapping("/user/find/{userId}")
    public UserInfoVo findUserById(@PathVariable("userId") String userId);

}

